package appapi.Request.record;

import appapi.common.PageReq;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author dhq
 * @version 1.0
 * @date 2023/9/11  10:08
 */
@Data
@AllArgsConstructor
public class ScenePageReq extends PageReq {
    @ApiModelProperty(value="场景编号")
    private String sceneNo;

    @ApiModelProperty(value = "组织机构路径")
    private String orgaPathIds;

    @ApiModelProperty(value="场景摘要")
    private String sceneSummary;

    @ApiModelProperty(value="开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty(value="结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

}
